////////////////////////////////////////////////////////////
// Workfile : Writer.h
// Author : Thomas Pfeiffer
// Date : 31.10.2012
// Description : Header for the class Writer
////////////////////////////////////////////////////////////
#ifndef WRITER_H
#define WRITER_H

#include "IWrite.h"

class Writer {
public:
	void WriteFile(std::string const& filename, IWrite* data) const;

protected:
	virtual void DoWrite(std::ostream & out, Address* addr, std::list<Person*> const& persons, bool WriteHeader) const = 0;

};

#endif